package com.longcai.entity.scm;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lwk
 * @since 2019-04-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ClyjCouponDetail implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "detail_id", type = IdType.UUID)
    private String detailId;
    /**
     * 商户id
     */
    private String shId;
    /**
     * 用户电话
     */
    private String userPhone;
    /**
     * 发放金额
     */
    private BigDecimal sendPrice;
    /**
     * 发放日期
     */
    private LocalDateTime createTime;
    /**
     * 礼品卷id
     */
    private String couponId;
    /**
     * 使用状态
     */
    private String detailStatus;
    /**
     * 剩余金额
     */
    @TableField(exist = false)
    private BigDecimal allPrice;


}
